package com.me.responsibilitychain;


import lombok.Data;

/**
 * 请求类
 */
@Data
public class PurchaseRequest {

    /**
     * 请求类型
     */
    private int type;

    /**
     * 请求金额
     */
    private float price;

    private int id;

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }
}
